MainContext.this

Creates a new #GMainContext structure.

  1. this(GMainContext* gMainContext, bool ownedRef)
  2. this()
  3. this(GMainContextFlags flags)
    class MainContext

Parameters

flags GMainContextFlags

a bitwise-OR combination of #GMainContextFlags flags that can only be set at creation time.

Return Value

the new #GMainContext

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.72